<!DOCTYPE html>
<html lang="zh-cn">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>分页小按钮案例</title>
  <style>
    div {
      width: 700px;
      height: 50px;
      margin: 0 auto;
    }
    div ul{
      /* overflow: hidden; */
    }
    div ul li {
      float: left;
      width: 50px;
      height: 100%;
      margin-right: 20px;
      border: 2px solid seagreen;
      border-radius: 50%;
      text-align: center;
      line-height: 50px;
      list-style: none;

      cursor: pointer;

      transition: all 0.3s;
    }

    div ul li:hover {
      transform: scale(1.2);
    }
  </style>
</head>
<body>
  
  <div>
    <ul>
      <li>1</li>
      <li>2</li>
      <li>3</li>
      <li>4</li>
      <li>5</li>
      <li>6</li>
      <li>7</li>
      <li>8</li>
    </ul>
  </div>

</body>
</html>